package in.waffl.fairycake;

import java.util.ArrayList;

public class Level {
	private final char[][] layout;
	private final int tiles;
	private final int backTile;
	private final ArrayList<Monster> monsters;
	public Level(char[][] layout, int tiles, int backTile) {
		this.layout = layout;
		this.tiles = tiles;
		this.backTile = backTile;
		this.monsters = new ArrayList<Monster>();
	}
	public char[][] getLayout() {
		return layout;
	}
	public int getTiles() {
		return tiles;
	}
	public int getBackTile() {
		return backTile;
	}
	public void addMonster(Monster m) {
		monsters.add(m);
	}
	public Monster[] getMonsters() {
		return monsters.toArray(new Monster[monsters.size()]);
	}
}
